package com.huawei.gamebox.service.welfare.gift.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.gamebox.service.common.cardkit.node.BaseGsNode;
import com.huawei.gamebox.service.welfare.gift.card.RankingCard;
import o.cih;
import o.exp.j;

public class RankingNode extends BaseGsNode {
    public RankingNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -1);
        layoutParams.weight = 1.0f;
        View view = (LinearLayout) LayoutInflater.from(this.ॱ).inflate(j.ꜟ, null);
        cih rankingCard = new RankingCard(this.ॱ);
        rankingCard.ˏ(view);
        ˊ(rankingCard);
        viewGroup.addView(view, layoutParams);
        return true;
    }
}
